package net.mingsoft.referer;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "referer")
public class RefererProperties {
    // 白名单域名
    private List<String> refererDomain;
    //setter,getter方法

    public List<String> getRefererDomain() {
        return refererDomain;
    }

    public void setRefererDomain(List<String> refererDomain) {
        this.refererDomain = refererDomain;
    }
}
